package com.example.linuxpackage.demos.service.impl;

import com.example.linuxpackage.demos.mapper.EmpMapper;
import com.example.linuxpackage.demos.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EmpServiceImpl implements EmpService {
    @Autowired
    private EmpMapper empMapper;
    @Override
    public List selectAll() {
        return empMapper.selectAll();
    }
}
